{if $smarty.get.tpl_subscribe_news=='search'}
	{assign var="clients_list" value=$data.subscribers_search}
{else}
	{if $smarty.get.tpl_subscribe_news=='show_unsub'}
		{ext->class_function class="subscribe_news" func="get_all_subscribers" type="unsub" assign="clients_list"}
	{else}
		{ext->class_function class="subscribe_news" func="get_all_subscribers" assign="clients_list"}
	{/if}
{/if}
<!-- * list -->
{ext->paging elements=$clients_list items_per_page=$_var.subscribers_per_page page=$smarty.get.client_list_page_nr assign="page_data"}
{capture name="list"}
	{assign var="ct" value="1"}
	{foreach from=$clients_list item="el"}		
		{if $ct>=$page_data.current_page.from && $ct<=$page_data.current_page.to}
			{include file="admin/modules/subscribe_news/subscriber_list_item.html"}					
		{/if}
		{math equation="x + 1" x=$ct assign="ct"}	
	{/foreach}	
{/capture}
{if $smarty.get.tpl_subscribe_news=='search'}
	{include file="admin/modules/subscribe_news/search_field.html"}
{/if}
<!-- /* list -->
<form name="child_list" enctype="multipart/form-data" method="post" action="index.php">
<input name="admin" type="hidden" value="1">
<input name="mod" type="hidden" value="subscribe_news">
<input name="module" type="hidden" value="subscribe_news">
<input name="act" type="hidden" value="del_mas">
<input name="referer" type="hidden" value="{ext->get_referer}">

<table width="100%" cellpadding="0" cellspacing="0" border="6" bordercolor="#DBE1E5" bgcolor="#DBE1E5">
<tr>
<td>

{include file="admin/modules/subscribe_news/menu.html"}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>

{if $ct>1}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="70">{t t='Žymėjimas'}</td>	
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="50">{t t='ID'}</td>		
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="120">{t t='Registracijos data'}</td>		
		<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE">{t t='El. pašto adresas'}</td>	
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
{$smarty.capture.list}
{else}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="50" bgcolor="#FFFFFF" align="center" style="padding:15px">
		{t t='Naujienų prenumeratorių nėra'}		
		</td>		
	</tr>
</table>
{/if}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>	
</table>
{include file="admin/modules/subscribe_news/menu.html"}
</td>		
</tr>
</table>
</form>




